500
How can I get the number of results after a filter is applied

// Click event - Occurs when the user presses and then releases the left mouse button over the list control.
private void axList1_ClickEvent(object sender, EventArgs e)
{
	axList1.ClearFilter();
}
//this.axList1.ClickEvent += new EventHandler(this.axList1_ClickEvent);

// FilterChange event - Occurs when filter was changed.
private void axList1_FilterChange(object sender, EventArgs e)
{
	System.Diagnostics.Debug.Print( "Items.MatchItemCount" );
	System.Diagnostics.Debug.Print( axList1.Items.MatchItemCount.ToString() );
	System.Diagnostics.Debug.Print( axList1.FormatABC("value < 0 ? `filter applied: ` + abs(value + 1) + ` result(s)` : `no filter`",axList1.Items.MatchItemCount,null,null).ToString() );
}
//this.axList1.FilterChange += new EventHandler(this.axList1_FilterChange);

axList1.BeginUpdate();
(axList1.Columns.Add("Item") as EXLISTLib.Column).DisplayFilterButton = true;
EXLISTLib.Column var_Column = (axList1.Columns.Add("Pos") as EXLISTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item A");
	var_Items.Add("Item B");
	var_Items.Add("Item C");
axList1.FilterBarPromptVisible = EXLISTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
axList1.FilterBarPromptPattern = "Item";
axList1.EndUpdate();

499
How can I programmatically clear the control's filter
// Click event - Occurs when the user presses and then releases the left mouse button over the list control.
private void axList1_ClickEvent(object sender, EventArgs e)
{
	axList1.ClearFilter();
}
//this.axList1.ClickEvent += new EventHandler(this.axList1_ClickEvent);

axList1.BeginUpdate();
(axList1.Columns.Add("Item") as EXLISTLib.Column).DisplayFilterButton = true;
EXLISTLib.Column var_Column = (axList1.Columns.Add("Pos") as EXLISTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item A");
	var_Items.Add("Item B");
	var_Items.Add("Item C");
axList1.FilterBarPromptVisible = EXLISTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
axList1.FilterBarPromptPattern = "B";
axList1.EndUpdate();

498
Is it possible to prevent closing the control's filter bar, so it is always shown (prompt-combined)

axList1.BeginUpdate();
(axList1.Columns.Add("Item") as EXLISTLib.Column).DisplayFilterButton = true;
EXLISTLib.Column var_Column = (axList1.Columns.Add("Pos") as EXLISTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item A");
	var_Items.Add("Item B");
	var_Items.Add("Item C");
axList1.FilterBarPromptPattern = "B";
axList1.FilterBarPromptVisible = EXLISTLib.FilterBarVisibleEnum.exFilterBarVisible | EXLISTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
EXLISTLib.Column var_Column1 = axList1.Columns[0];
	var_Column1.FilterType = EXLISTLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item B";
axList1.ApplyFilter();
axList1.EndUpdate();

497
Is it possible to prevent closing the control's filter bar, so it is always shown (prompt)

axList1.BeginUpdate();
(axList1.Columns.Add("Item") as EXLISTLib.Column).DisplayFilterButton = true;
EXLISTLib.Column var_Column = (axList1.Columns.Add("Pos") as EXLISTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item A");
	var_Items.Add("Item B");
	var_Items.Add("Item C");
axList1.FilterBarPromptVisible = EXLISTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
axList1.FilterBarPromptPattern = "B";
axList1.EndUpdate();

496
Is it possible to prevent closing the control's filter bar, so it is always shown

axList1.BeginUpdate();
(axList1.Columns.Add("Item") as EXLISTLib.Column).DisplayFilterButton = true;
EXLISTLib.Column var_Column = (axList1.Columns.Add("Pos") as EXLISTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item A");
	var_Items.Add("Item B");
	var_Items.Add("Item C");
axList1.FilterBarCaption = "len(value) = 0 ? `<fgcolor=808080>no filter` : value";
axList1.FilterBarPromptVisible = EXLISTLib.FilterBarVisibleEnum.exFilterBarVisible;
EXLISTLib.Column var_Column1 = axList1.Columns[0];
	var_Column1.FilterType = EXLISTLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item B";
axList1.ApplyFilter();
axList1.EndUpdate();

495
How can I find if the control is running in DPI mode
System.Diagnostics.Debug.Print( axList1.FormatABC("dpi = 1 ? `normal/stretch mode` : `dpi mode`",null,null,null).ToString() );

494
I am using single selection, the question is if possible to select an item only when the user releases the mouse, as currently it selects the item as soon as the user clicks it
// SelectionChanged event - Fired after a new item is selected.
private void axList1_SelectionChanged(object sender, EventArgs e)
{
	System.Diagnostics.Debug.Print( "SelectionChanged" );
}
//this.axList1.SelectionChanged += new EventHandler(this.axList1_SelectionChanged);

axList1.BeginUpdate();
axList1.FreezeEvents(true);
axList1.SingleSel = true;
axList1.SelectOnRelease = true;
(axList1.Columns.Add("Column") as EXLISTLib.Column).FormatColumn = "1 apos `A-Z`";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("");
	var_Items.set_SelectItem(var_Items.Add(""),true);
	var_Items.Add("");
axList1.FreezeEvents(false);
axList1.EndUpdate();

493
Is it possible to select nothing
// SelectionChanged event - Fired after a new item is selected.
private void axList1_SelectionChanged(object sender, EventArgs e)
{
	System.Diagnostics.Debug.Print( "SelectionChanged" );
}
//this.axList1.SelectionChanged += new EventHandler(this.axList1_SelectionChanged);

axList1.BeginUpdate();
axList1.FreezeEvents(true);
axList1.AllowSelectNothing = true;
(axList1.Columns.Add("Column") as EXLISTLib.Column).FormatColumn = "1 apos `A-Z`";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("");
	var_Items.set_SelectItem(var_Items.Add(""),true);
	var_Items.Add("");
axList1.FreezeEvents(false);
axList1.EndUpdate();

492
How do I change the drop down filter icon/button (black)

axList1.BeginUpdate();
EXLISTLib.Appearance var_Appearance = axList1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABXUIQAAYAQGKIcBiAKBQAGYBIJDEMgzDDAUBjKKocQTC4AIQjCK4JDKHYJRpHEZyCA8EhqGASRAFUQBYiWE4oSpLABQaK0ZwIGyRIrkGQgQ" +
"gmPYDSDNU4zVIEEglBI0TDNczhNDENgtGYaJqHIYpZBcM40TKkEZoSIITZcRrOEBiRL1S0RBhGcRUHZlWzdN64LhuK47UrWdD/XhdVzXRbjfz1Oq+bxve48Br7A5yYTh" +
"dr4LhOFQ3RjIL4xbIcUwGe6VZhjOLZXjmO49T69HTtOCYBEBA");
axList1.set_Background(EXLISTLib.BackgroundPartEnum.exCursorHoverColumn,-1);
axList1.set_Background(EXLISTLib.BackgroundPartEnum.exHeaderFilterBarButton,0x1000000);
axList1.set_Background(EXLISTLib.BackgroundPartEnum.exBackColorFilter,(uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,1)));
axList1.set_Background(EXLISTLib.BackgroundPartEnum.exForeColorFilter,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)));
axList1.set_Description(EXLISTLib.DescriptionTypeEnum.exFilterBarExclude,"<bgcolor 0><fgcolor ffffff> Exclude </fgcolor></bgcolor>");
axList1.HeaderAppearance = EXLISTLib.AppearanceEnum.None2;
axList1.BackColorHeader = Color.FromArgb(0,0,0);
axList1.ForeColorHeader = Color.FromArgb(255,255,255);
axList1.HeaderVisible = true;
axList1.BackColorLevelHeader = axList1.BackColor;
EXLISTLib.Column var_Column = (axList1.Columns.Add("Filter") as EXLISTLib.Column);
	var_Column.FilterList = EXLISTLib.FilterListEnum.exShowExclude | EXLISTLib.FilterListEnum.exShowCheckBox;
	var_Column.DisplayFilterButton = true;
	var_Column.AllowSort = false;
	var_Column.AllowDragging = false;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("One");
	var_Items.Add("Two");
	var_Items.Add("Three");
axList1.EndUpdate();

491
How do I change the drop down filter icon/button (white)

axList1.BeginUpdate();
EXLISTLib.Appearance var_Appearance = axList1.VisualAppearance;
	var_Appearance.Add(2,"gBFLBCJwBAEHhEJAAEhABX8GACAADACAxSDEMQBQKAAzQFAYbhgHCGAAGQaBUgmFgAQhFcZQSKUOQTDKNYykCIRSDUJYkSZEIyjBI8ExXFqNACkGKwYgmNYiTLAcgAN" +
"J0WBaGIZJ4gOT5fDKMoEDRRYADFCscwxJybQAqGQKKb+VgAVY/cTyBIAEQSKA0TDOQ5TSKWB4JPZQRBEbZMNBtBIUJquKaqShdQJCU5FdY3Xblez9P7AMBwLFEC4NQ8Y" +
"NYuPhjR4dRTIMhvVAsUArFh8Zg9GZZFjmDIDT4ydBLTQwcyVIKnP5qOa6XbmPoCQDYKxZHYxPzVDa3axuL76dqCAT7XrXNy1TbNRrzQKfcJqfCbdw2YaDZLOOT3fjuI4" +
"hhKaRzFAHJ+jYQ4xHuY4gHuGIXGeExqC8Tp6C+PoEm+G5ImycRgh0XwvDGa5rgOeoejyXwnFeQp2mkf5ClgBB9gCWIYAwfYAEKV58mkdwOggNArgOXY2EWLoDkKOA0mg" +
"bhOGgZApgaSBIHWSYHSmbApgYThmESZYJkIeIkgeCpfliLIHgpMIcmUYYYmODAlg2SI4mWfRfGOEguDcCRjFYAJihCQhJBSDoRmONgKEcI4kFCEJhhOVYTmYnAlEAQhW" +
"BMJYJGYWoWmWSR2F6F5lnkWAQhUAgpEieRWEuSYkjWGpmkmNhuhuZwJkYcocmaaYkjyEhngnUA6lEFAlAEgI=");
	var_Appearance.Add(1,"CP:2 -14 -4 -2 4");
axList1.set_Background(EXLISTLib.BackgroundPartEnum.exHeaderFilterBarButton,0x1000000);
axList1.set_Background(EXLISTLib.BackgroundPartEnum.exCursorHoverColumn,axList1.BackColor);
axList1.HeaderAppearance = EXLISTLib.AppearanceEnum.None2;
axList1.BackColorHeader = Color.FromArgb(255,255,255);
axList1.HeaderVisible = true;
axList1.HeaderHeight = 24;
axList1.BackColorLevelHeader = axList1.BackColor;
EXLISTLib.Column var_Column = (axList1.Columns.Add("Filter") as EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.AllowSort = false;
	var_Column.AllowDragging = false;
axList1.EndUpdate();

490
Can I display the column's multiple-lines caption vertically oriented (method 2)

axList1.BeginUpdate();
axList1.HeaderHeight = 48;
axList1.ColumnAutoResize = true;
EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("And others ...");
	EXLISTLib.Column var_Column = (var_Columns.Add("") as EXLISTLib.Column);
		var_Column.HTMLCaption = "First Column";
		var_Column.HeaderVertical = true;
		var_Column.Width = 36;
		var_Column.AllowSizing = false;
		var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellPaddingLeft,8);
		var_Column.Position = 0;
	EXLISTLib.Column var_Column1 = (var_Columns.Add("") as EXLISTLib.Column);
		var_Column1.HTMLCaption = "<c><b>Second Column";
		var_Column1.HeaderVertical = true;
		var_Column1.Width = 36;
		var_Column1.AllowSizing = false;
		var_Column1.set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column1.set_Def(EXLISTLib.DefColumnEnum.exCellPaddingLeft,8);
		var_Column1.Position = 1;
	EXLISTLib.Column var_Column2 = (var_Columns.Add("") as EXLISTLib.Column);
		var_Column2.HTMLCaption = "<r>Third Column";
		var_Column2.HeaderVertical = true;
		var_Column2.Width = 36;
		var_Column2.AllowSizing = false;
		var_Column2.set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column2.set_Def(EXLISTLib.DefColumnEnum.exCellPaddingLeft,8);
		var_Column2.Position = 2;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_CellState(var_Items.Add("Item 1"),3,1);
	var_Items.set_CellState(var_Items.Add("Item 2"),2,1);
	var_Items.set_CellState(var_Items.Add("Item 3"),1,1);
axList1.EndUpdate();

489
Can I display the column's multiple-lines caption vertically oriented (method 1)

axList1.BeginUpdate();
axList1.HeaderHeight = 48;
axList1.HeaderSingleLine = false;
axList1.ColumnAutoResize = true;
EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("And others ...");
	EXLISTLib.Column var_Column = (var_Columns.Add("First Column") as EXLISTLib.Column);
		var_Column.HeaderVertical = true;
		var_Column.Width = 36;
		var_Column.AllowSizing = false;
		var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellPaddingLeft,8);
		var_Column.Position = 0;
	EXLISTLib.Column var_Column1 = (var_Columns.Add("Second Column") as EXLISTLib.Column);
		var_Column1.HeaderBold = true;
		var_Column1.HeaderVertical = true;
		var_Column1.Width = 36;
		var_Column1.AllowSizing = false;
		var_Column1.set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column1.set_Def(EXLISTLib.DefColumnEnum.exCellPaddingLeft,8);
		var_Column1.Position = 1;
	EXLISTLib.Column var_Column2 = (var_Columns.Add("Third Column") as EXLISTLib.Column);
		var_Column2.HeaderVertical = true;
		var_Column2.Width = 36;
		var_Column2.AllowSizing = false;
		var_Column2.set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column2.set_Def(EXLISTLib.DefColumnEnum.exCellPaddingLeft,8);
		var_Column2.Position = 2;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_CellState(var_Items.Add("Item 1"),3,1);
	var_Items.set_CellState(var_Items.Add("Item 2"),2,1);
	var_Items.set_CellState(var_Items.Add("Item 3"),1,1);
axList1.EndUpdate();

488
Can I display the column's caption vertically oriented (method 2)

axList1.BeginUpdate();
axList1.HeaderHeight = 48;
axList1.ColumnAutoResize = true;
EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("And others ...");
	EXLISTLib.Column var_Column = (var_Columns.Add("") as EXLISTLib.Column);
		var_Column.HTMLCaption = "First";
		var_Column.HeaderVertical = true;
		var_Column.Width = 20;
		var_Column.AllowSizing = false;
		var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column.Position = 0;
	EXLISTLib.Column var_Column1 = (var_Columns.Add("") as EXLISTLib.Column);
		var_Column1.HTMLCaption = "<c><b>Second";
		var_Column1.HeaderVertical = true;
		var_Column1.Width = 20;
		var_Column1.AllowSizing = false;
		var_Column1.set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column1.Position = 1;
	EXLISTLib.Column var_Column2 = (var_Columns.Add("") as EXLISTLib.Column);
		var_Column2.HTMLCaption = "<r>Third";
		var_Column2.HeaderVertical = true;
		var_Column2.Width = 20;
		var_Column2.AllowSizing = false;
		var_Column2.set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column2.Position = 2;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_CellState(var_Items.Add("Item 1"),3,1);
	var_Items.set_CellState(var_Items.Add("Item 2"),2,1);
	var_Items.set_CellState(var_Items.Add("Item 3"),1,1);
axList1.EndUpdate();

487
Can I display the column's caption vertically oriented (method 1)

axList1.BeginUpdate();
axList1.HeaderHeight = 48;
axList1.ColumnAutoResize = true;
EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("And others ...");
	EXLISTLib.Column var_Column = (var_Columns.Add("First") as EXLISTLib.Column);
		var_Column.HeaderVertical = true;
		var_Column.Width = 20;
		var_Column.AllowSizing = false;
		var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column.Position = 0;
	EXLISTLib.Column var_Column1 = (var_Columns.Add("Second") as EXLISTLib.Column);
		var_Column1.HeaderBold = true;
		var_Column1.HeaderVertical = true;
		var_Column1.Width = 20;
		var_Column1.AllowSizing = false;
		var_Column1.set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column1.Position = 1;
	EXLISTLib.Column var_Column2 = (var_Columns.Add("Third") as EXLISTLib.Column);
		var_Column2.HeaderVertical = true;
		var_Column2.Width = 20;
		var_Column2.AllowSizing = false;
		var_Column2.set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column2.Position = 2;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_CellState(var_Items.Add("Item 1"),3,1);
	var_Items.set_CellState(var_Items.Add("Item 2"),2,1);
	var_Items.set_CellState(var_Items.Add("Item 3"),1,1);
axList1.EndUpdate();

486
How do I get sorted the column as string, numeric, date, date and time. Also how can it be applied to drop down filter panel

axList1.BeginUpdate();
EXLISTLib.Column var_Column = (axList1.Columns.Add("Date") as EXLISTLib.Column);
	var_Column.SortType = EXLISTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = EXLISTLib.FilterListEnum.exShowFocusItem | EXLISTLib.FilterListEnum.exShowCheckBox | EXLISTLib.FilterListEnum.exSortItemsDesc;
EXLISTLib.Column var_Column1 = (axList1.Columns.Add("DateTime") as EXLISTLib.Column);
	var_Column1.SortType = EXLISTLib.SortTypeEnum.SortDateTime;
	var_Column1.DisplayFilterButton = true;
	var_Column1.DisplayFilterPattern = false;
	var_Column1.FilterList = EXLISTLib.FilterListEnum.exShowFocusItem | EXLISTLib.FilterListEnum.exShowCheckBox | EXLISTLib.FilterListEnum.exSortItemsDesc;
EXLISTLib.Column var_Column2 = (axList1.Columns.Add("Time") as EXLISTLib.Column);
	var_Column2.SortType = EXLISTLib.SortTypeEnum.SortTime;
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterList = EXLISTLib.FilterListEnum.exShowFocusItem | EXLISTLib.FilterListEnum.exShowCheckBox | EXLISTLib.FilterListEnum.exSortItemsDesc;
	var_Column2.FormatColumn = "time(value)";
EXLISTLib.Column var_Column3 = (axList1.Columns.Add("Numeric") as EXLISTLib.Column);
	var_Column3.SortType = EXLISTLib.SortTypeEnum.SortNumeric;
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterList = EXLISTLib.FilterListEnum.exShowFocusItem | EXLISTLib.FilterListEnum.exShowCheckBox | EXLISTLib.FilterListEnum.exSortItemsDesc;
EXLISTLib.Column var_Column4 = (axList1.Columns.Add("String") as EXLISTLib.Column);
	var_Column4.DisplayFilterButton = true;
	var_Column4.FilterList = EXLISTLib.FilterListEnum.exShowFocusItem | EXLISTLib.FilterListEnum.exShowCheckBox | EXLISTLib.FilterListEnum.exSortItemsDesc;
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add(Convert.ToDateTime("1/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("1/27/2010 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,2,var_Items.get_Caption(h,1));
	var_Items.set_Caption(h,3,1);
	var_Items.set_Caption(h,4,var_Items.get_Caption(h,3));
	h = var_Items.Add(Convert.ToDateTime("1/27/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("1/27/2011 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,2,var_Items.get_Caption(h,1));
	var_Items.set_Caption(h,3,11);
	var_Items.set_Caption(h,4,var_Items.get_Caption(h,3));
	h = var_Items.Add(Convert.ToDateTime("11/2/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("11/2/2010 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,2,var_Items.get_Caption(h,1));
	var_Items.set_Caption(h,3,2);
	var_Items.set_Caption(h,4,var_Items.get_Caption(h,3));
axList1.Columns["DateTime"].DisplayFilterDate = false;
axList1.EndUpdate();

485
How can I get ride / hide the image being dragged by OLE Drag and Drop
// OLEStartDrag event - Occurs when the OLEDrag method is called.
private void axList1_OLEStartDrag(object sender, AxEXLISTLib._IListEvents_OLEStartDragEvent e)
{
	// Data.SetData("data to drag")
	e.allowedEffects = 1;
}
//this.axList1.OLEStartDrag += new AxEXLISTLib._IListEvents_OLEStartDragEventHandler(this.axList1_OLEStartDrag);

axList1.OLEDropMode = EXLISTLib.exOLEDropModeEnum.exOLEDropManual;
axList1.set_Background(EXLISTLib.BackgroundPartEnum.exDragDropAfter,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)));
axList1.Columns.Add("Default");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");

484
Is there an event that fires on the exList control when the order of items in the list is changed via dragging
// AllowAutoDrag event - Occurs when the user drags the item between InsertA and InsertB.
private void axList1_AllowAutoDrag(object sender, AxEXLISTLib._IListEvents_AllowAutoDragEvent e)
{
	EXLISTLib.Items var_Items = axList1.Items;
		System.Diagnostics.Debug.Print( "After" );
		System.Diagnostics.Debug.Print( var_Items.get_Caption(e.insertA,0).ToString() );
		System.Diagnostics.Debug.Print( "Before" );
		System.Diagnostics.Debug.Print( var_Items.get_Caption(e.insertB,0).ToString() );
	e.cancel = true;
}
//this.axList1.AllowAutoDrag += new AxEXLISTLib._IListEvents_AllowAutoDragEventHandler(this.axList1_AllowAutoDrag);

axList1.BeginUpdate();
axList1.AutoDrag = EXLISTLib.AutoDragEnum.exAutoDragPosition;
axList1.Columns.Add("Task");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.Add("Item 4");
axList1.EndUpdate();

483
How can I export checked items only

axList1.BeginUpdate();
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("C1") as EXLISTLib.Column).set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
	(var_Columns.Add("C2") as EXLISTLib.Column).FormatColumn = "1 index `A-Z`";
	(var_Columns.Add("C3") as EXLISTLib.Column).FormatColumn = "100 index ``";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.set_CellState(var_Items.Add("Item 2"),0,1);
	var_Items.set_CellState(var_Items.Add("Item 3"),0,1);
axList1.EndUpdate();
System.Diagnostics.Debug.Print( "Export CSV Checked Items Only:" );
System.Diagnostics.Debug.Print( axList1.Export("","chk").ToString() );

482
How can I export a hidden column

axList1.BeginUpdate();
EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("C1");
	EXLISTLib.Column var_Column = (var_Columns.Add("C2") as EXLISTLib.Column);
		var_Column.FormatColumn = "1 index `A-Z`";
		var_Column.Visible = false;
	EXLISTLib.Column var_Column1 = (var_Columns.Add("C3") as EXLISTLib.Column);
		var_Column1.FormatColumn = "100 index ``";
		var_Column1.Visible = false;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
axList1.EndUpdate();
System.Diagnostics.Debug.Print( "Export CSV Hidden Columns (1,2):" );
System.Diagnostics.Debug.Print( axList1.Export("","|1,2").ToString() );

481
Is it possible to have a different alignment for parts of the cell's caption

axList1.BeginUpdate();
axList1.DrawGridLines = EXLISTLib.GridLinesEnum.exAllLines;
EXLISTLib.Column var_Column = (axList1.Columns.Add("Default") as EXLISTLib.Column);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_CellHAlignment(var_Items.Add("all-left"),0,EXLISTLib.AlignmentEnum.LeftAlignment);
	var_Items.set_CellHAlignment(var_Items.Add("all-center"),0,EXLISTLib.AlignmentEnum.CenterAlignment);
	var_Items.set_CellHAlignment(var_Items.Add("all-right"),0,EXLISTLib.AlignmentEnum.RightAlignment);
	int h = var_Items.Add("left<c>center<r>right");
	var_Items.set_CaptionFormat(h,0,EXLISTLib.CaptionFormatEnum.exHTML);
axList1.EndUpdate();

480
I have a column with Def(exCellSingleLine) property on False, word-wrapping, and I am wondering if possible to update the column's content while user is resizing it
axList1.BeginUpdate();
EXLISTLib.Columns var_Columns = axList1.Columns;
	EXLISTLib.Column var_Column = (var_Columns.Add("MultipleLine") as EXLISTLib.Column);
		var_Column.Width = 32;
		var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellSingleLine,false);
		var_Column.set_Def(EXLISTLib.DefColumnEnum.exColumnResizeContiguously,true);
	EXLISTLib.Column var_Column1 = (var_Columns.Add("SingleLine") as EXLISTLib.Column);
		var_Column1.set_Def(EXLISTLib.DefColumnEnum.exCellSingleLine,false);
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_Caption(var_Items.Add("This is a bit of long text that should break the line"),1,"This is a bit of long text that should break the line");
axList1.EndUpdate();

479
How can I hide the cell's tooltip
// ToolTip event - Fired when the control prepares the object's tooltip.
private void axList1_ToolTip(object sender, AxEXLISTLib._IListEvents_ToolTipEvent e)
{
	System.Diagnostics.Debug.Print( "The tooltip is about to be shown" );
	e.visible = false;
}
//this.axList1.ToolTip += new AxEXLISTLib._IListEvents_ToolTipEventHandler(this.axList1_ToolTip);

axList1.BeginUpdate();
axList1.Columns.Add("Def");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_CellToolTip(var_Items.Add("Item 1"),0,"This is a bit of text that's shown when cursor hovers the item.");
	var_Items.set_CellToolTip(var_Items.Add("Item 2"),0,"This is a bit of text that's shown when cursor hovers the item.");
	var_Items.set_CellToolTip(var_Items.Add("Item 3"),0,"This is a bit of text that's shown when cursor hovers the item.");
axList1.EndUpdate();

478
How can I find out if an item is selected or unselected
// MouseMove event - Occurs when the user moves the mouse.
private void axList1_MouseMoveEvent(object sender, AxEXLISTLib._IListEvents_MouseMoveEvent e)
{
	int i = axList1.get_ItemFromPoint(-1,-1,c,hit);
	EXLISTLib.Items var_Items = axList1.Items;
		System.Diagnostics.Debug.Print( var_Items.get_SelectItem(i).ToString() );
}
//this.axList1.MouseMoveEvent += new AxEXLISTLib._IListEvents_MouseMoveEventHandler(this.axList1_MouseMoveEvent);

axList1.Columns.Add("Header");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.set_SelectItem(var_Items.Add("Item 2"),true);
	var_Items.Add("Item 3");

477
How do I sort the index column as numeric

// AddItem event - Occurs after a new Item is inserted to Items collection.
private void axList1_AddItem(object sender, AxEXLISTLib._IListEvents_AddItemEvent e)
{
	EXLISTLib.Items var_Items = axList1.Items;
		var_Items.set_CellData(e.item,1,e.item);
}
//this.axList1.AddItem += new AxEXLISTLib._IListEvents_AddItemEventHandler(this.axList1_AddItem);

axList1.BeginUpdate();
axList1.DrawGridLines = EXLISTLib.GridLinesEnum.exAllLines;
axList1.ColumnAutoResize = true;
axList1.ShowFocusRect = false;
EXLISTLib.Column var_Column = (axList1.Columns.Add("Next") as EXLISTLib.Column);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellPaddingLeft,4);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exHeaderPaddingLeft,4);
EXLISTLib.Column var_Column1 = (axList1.Columns.Add("Index") as EXLISTLib.Column);
	var_Column1.AllowSizing = false;
	var_Column1.Width = 48;
	var_Column1.FormatColumn = "(((0 := (1 index ``)) mod 3) case ( default: ``; 0 : `<r><fgcolor=B0B0B0>`; 1: ``; 2 : `<c><fgcolor=808080>` )) + str(=:0)";
	var_Column1.set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
	var_Column1.SortType = EXLISTLib.SortTypeEnum.SortUserData;
	var_Column1.Position = 0;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.Add("Item 4");
	var_Items.Add("Item 5");
	var_Items.Add("Item 6");
	var_Items.Add("Item 7");
	var_Items.Add("Item 8");
	var_Items.Add("Item 9");
	var_Items.Add("Item 10");
axList1.EndUpdate();

476
How can I put icons/images into buttons

axList1.BeginUpdate();
axList1.ColumnAutoResize = true;
axList1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXLISTLib.Column var_Column = (axList1.Columns.Add("C+B") as EXLISTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.Width = 48;
	var_Column.FormatColumn = "` <img>` + ( 1 + (1 index ``) mod 3 ) + `</img> `";
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellHasButton,true);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellHasButton | EXLISTLib.DefColumnEnum.exCellHasRadioButton,true);
axList1.Columns.Add("");
axList1.DrawGridLines = EXLISTLib.GridLinesEnum.exVLines;
axList1.DefaultItemHeight = 20;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("");
	var_Items.Add("");
	var_Items.Add("");
	var_Items.Add("");
	var_Items.Add("");
	var_Items.Add("");
	var_Items.Add("");
	var_Items.Add("");
axList1.EndUpdate();

475
Is it possible to have a CheckBox and Button TOGETHER on all cells in a column

// CellButtonClick event - Fired after the user clicks the cell's button.
private void axList1_CellButtonClick(object sender, AxEXLISTLib._IListEvents_CellButtonClickEvent e)
{
	System.Diagnostics.Debug.Print( "CellButtonClick" );
	System.Diagnostics.Debug.Print( e.item.ToString() );
}
//this.axList1.CellButtonClick += new AxEXLISTLib._IListEvents_CellButtonClickEventHandler(this.axList1_CellButtonClick);

// CellStateChanged event - Fired after cell's state is changed.
private void axList1_CellStateChanged(object sender, AxEXLISTLib._IListEvents_CellStateChangedEvent e)
{
	System.Diagnostics.Debug.Print( "CellStateChanged" );
	System.Diagnostics.Debug.Print( e.item.ToString() );
}
//this.axList1.CellStateChanged += new AxEXLISTLib._IListEvents_CellStateChangedEventHandler(this.axList1_CellStateChanged);

axList1.BeginUpdate();
axList1.ColumnAutoResize = true;
EXLISTLib.Column var_Column = (axList1.Columns.Add("") as EXLISTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 index ``";
EXLISTLib.Column var_Column1 = (axList1.Columns.Add("Def") as EXLISTLib.Column);
	var_Column1.AllowSizing = false;
	var_Column1.Width = 48;
	var_Column1.FormatColumn = "`     `";
	var_Column1.set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column1.set_Def(EXLISTLib.DefColumnEnum.exCellHasButton,true);
	var_Column1.set_Def(EXLISTLib.DefColumnEnum.exCellHasButton | EXLISTLib.DefColumnEnum.exCellHasRadioButton,true);
axList1.Columns.Add("");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("");
	var_Items.Add("");
	var_Items.Add("");
	var_Items.Add("");
	var_Items.Add("");
	var_Items.Add("");
	var_Items.Add("");
	var_Items.Add("");
axList1.EndUpdate();

474
Does filtering work with umlauts / accents characters
axList1.BeginUpdate();
EXLISTLib.Column var_Column = (axList1.Columns.Add("Names") as EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = EXLISTLib.FilterTypeEnum.exPattern;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Mantel");
	var_Items.Add("Mechanik");
	var_Items.Add("Motor");
	var_Items.Add("Murks");
	var_Items.Add("Märchen");
	var_Items.Add("Möhren");
	var_Items.Add("Mühle");
	var_Items.Add("Sérigraphie");
axList1.Columns[0].Filter = "*ä*";
axList1.ApplyFilter();
axList1.EndUpdate();

473
Can I set the search box / filterbarprompt to invisible, so I can use my own input and *string* via VBA
axList1.BeginUpdate();
axList1.ColumnAutoResize = true;
axList1.ContinueColumnScroll = false;
axList1.MarkSearchColumn = false;
axList1.SearchColumnIndex = 1;
axList1.FilterBarHeight = 0;
axList1.FilterBarPromptVisible = true;
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("Name") as EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
EXLISTLib.Items var_Items = axList1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
axList1.FilterBarPromptPattern = "London";
axList1.EndUpdate();

472
How can I align captions of items with checkbox, with items with no checkbox

axList1.BeginUpdate();
axList1.Columns.Add("Default");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_CellImages(var_Items.Add(0),0,"1");
	var_Items.set_CellHasCheckBox(var_Items.Add(1),0,true);
	var_Items.set_CellImages(var_Items.Add(2),0,"1");
axList1.EndUpdate();

471
How do I programmatically scroll the control (method 2)
axList1.BeginUpdate();
axList1.ColumnAutoResize = false;
axList1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExList\\Sample\\Access\\SAMPLE.ACCDB",ADODB.CursorTypeEnum.adOpenStatic,ADODB.LockTypeEnum.adLockOptimistic,0);
axList1.DataSource = (rs as ADODB.Recordset);
axList1.Layout = "vscroll = 10";
axList1.EndUpdate();

470
How do I programmatically scroll the control (method 1)
axList1.BeginUpdate();
axList1.ColumnAutoResize = false;
axList1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExList\\Sample\\Access\\SAMPLE.ACCDB",ADODB.CursorTypeEnum.adOpenStatic,ADODB.LockTypeEnum.adLockOptimistic,0);
axList1.DataSource = (rs as ADODB.Recordset);
axList1.set_ScrollPos(true,10);
axList1.EndUpdate();

469
How can I decode the Layout property
axList1.BeginUpdate();
EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("C1");
	(var_Columns.Add("C2") as EXLISTLib.Column).Position = 1;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_Caption(var_Items.Add("SubItem 1.1"),1,"SubItem 1.2");
	var_Items.set_Caption(var_Items.Add("SubItem 2.1"),1,"SubItem 2.2");
axList1.Columns["C2"].SortOrder = EXLISTLib.SortOrderEnum.SortDescending;
axList1.EndUpdate();
System.Diagnostics.Debug.Print( "Encoded:" );
System.Diagnostics.Debug.Print( axList1.Layout );
// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
EXPRINTLib.Print var_Print = new EXPRINTLib.Print();
	System.Diagnostics.Debug.Print( "Decoded: " );
	System.Diagnostics.Debug.Print( var_Print.get_Decode64TextW(axList1.Layout) );

468
Does the title of the cell's tooltip supports HTML format

axList1.BeginUpdate();
EXLISTLib.Column var_Column = (axList1.Columns.Add("") as EXLISTLib.Column);
	var_Column.Caption = "";
	var_Column.HTMLCaption = "Column";
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("tooltip w/h different title");
	var_Items.set_CellToolTip(h,0,"<c><b><fgcolor=FF0000>Title</fgcolor></b><br>This is bit of text that's shown when the user hovers the cell. This shows the tit" +
"le centered with a different color.");
axList1.EndUpdate();

467
How do I specify a different title for the cell's tooltip

axList1.BeginUpdate();
EXLISTLib.Column var_Column = (axList1.Columns.Add("") as EXLISTLib.Column);
	var_Column.Caption = "This is the title";
	var_Column.HTMLCaption = "Column";
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("tooltip w/h different title");
	var_Items.set_CellToolTip(h,0,"This is bit of text that's shown when the user hovers the cell.");
axList1.EndUpdate();

466
The cell's tooltip displays the column's caption in its title. How can I get ride of that

axList1.BeginUpdate();
EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("tooltip w/h caption");
	var_Items.set_CellToolTip(h,0,"This is bit of text that's shown when the user hovers the cell. This shows the column's caption in the title.");
	var_Items.set_Caption(h,1,"tooltip no caption");
	var_Items.set_CellToolTip(h,1,"This is bit of text that's shown when the user hovers the cell. This shows no column's caption in the title.");
EXLISTLib.Column var_Column = axList1.Columns["C2"];
	var_Column.HTMLCaption = var_Column.Caption;
	var_Column.Caption = "";
axList1.EndUpdate();

465
When you click the cell it takes some time before the edit box appears, can this delay be removed

// Click event - Occurs when the user presses and then releases the left mouse button over the list control.
private void axList1_ClickEvent(object sender, EventArgs e)
{
	int h = axList1.get_ItemFromPoint(-1,-1,ColIndex,HitTestInfo);
	axList1.Items.Edit(h,ColIndex);
}
//this.axList1.ClickEvent += new EventHandler(this.axList1_ClickEvent);

axList1.AllowEdit = true;
axList1.Columns.Add("Default");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("");
	var_Items.Add("Edit");
	var_Items.Add("");

464
How can I programmatically show the column's filter

// RClick event - Fired when right mouse button is clicked
private void axList1_RClick(object sender, EventArgs e)
{
	int i = axList1.get_ItemFromPoint(-1,-1,c,hit);
	axList1.Columns[c].ShowFilter("-1,-1,128,128");
}
//this.axList1.RClick += new EventHandler(this.axList1_RClick);

axList1.BeginUpdate();
axList1.ShowFocusRect = false;
EXLISTLib.Column var_Column = (axList1.Columns.Add("Items ") as EXLISTLib.Column);
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = EXLISTLib.FilterListEnum.exShowExclude | EXLISTLib.FilterListEnum.exShowFocusItem | EXLISTLib.FilterListEnum.exShowCheckBox;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
axList1.EndUpdate();

463
I want to be able to click on one of the headers, and sort by other column. How can I do that

// ColumnClick event - Fired after the user clicks on column's header.
private void axList1_ColumnClick(object sender, AxEXLISTLib._IListEvents_ColumnClickEvent e)
{
	// Column.SortOrder = 1
	axList1.SortOnClick = EXLISTLib.SortOnClickEnum.exDefaultSort;
	axList1.Columns["Sort"].SortOrder = EXLISTLib.SortOrderEnum.SortAscending;
	axList1.SortOnClick = EXLISTLib.SortOnClickEnum.exUserSort;
}
//this.axList1.ColumnClick += new AxEXLISTLib._IListEvents_ColumnClickEventHandler(this.axList1_ColumnClick);

axList1.BeginUpdate();
axList1.SortOnClick = EXLISTLib.SortOnClickEnum.exUserSort;
axList1.Columns.Add("Items");
(axList1.Columns.Add("Sort") as EXLISTLib.Column).Visible = false;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_Caption(var_Items.Add("Item 1 (3)"),1,3);
	var_Items.set_Caption(var_Items.Add("Item 2 (1)"),1,1);
	var_Items.set_Caption(var_Items.Add("Item 3 (2)"),1,2);
axList1.EndUpdate();

462
How can I sort by two-columns, one by date and one by time

axList1.BeginUpdate();
axList1.SingleSort = false;
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("Index") as EXLISTLib.Column).FormatColumn = "1 index ``";
	(var_Columns.Add("Date") as EXLISTLib.Column).SortType = EXLISTLib.SortTypeEnum.SortDate;
	EXLISTLib.Column var_Column = (var_Columns.Add("Time") as EXLISTLib.Column);
		var_Column.SortType = EXLISTLib.SortTypeEnum.SortTime;
		var_Column.FormatColumn = "time(value)";
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add(0);
	var_Items.set_Caption(h,1,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,2,Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(0);
	var_Items.set_Caption(h,1,Convert.ToDateTime("12/31/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,2,Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(0);
	var_Items.set_Caption(h,1,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,2,Convert.ToDateTime("1/1/2001 6:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(0);
	var_Items.set_Caption(h,1,Convert.ToDateTime("12/31/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,2,Convert.ToDateTime("1/1/2001 8:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(0);
	var_Items.set_Caption(h,1,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,2,Convert.ToDateTime("1/1/2001 8:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(0);
	var_Items.set_Caption(h,1,Convert.ToDateTime("12/31/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,2,Convert.ToDateTime("1/1/2001 6:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
axList1.Layout = "multiplesort=\"C1:1 C2:1\"";
axList1.EndUpdate();

461
How can I connect to a DBF file
axList1.BeginUpdate();
axList1.ColumnAutoResize = false;
axList1.ContinueColumnScroll = false;
axList1.MarkSearchColumn = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Select * From foxcode.DBF","Provider=vfpoledb;Data Source=C:\\Program Files\\Microsoft Visual FoxPro 9\\",ADODB.CursorTypeEnum.adOpenStatic,ADODB.LockTypeEnum.adLockOptimistic,0);
axList1.DataSource = (rs as ADODB.Recordset);
axList1.EndUpdate();

460
Does your control supports scrolling by touching the screen

axList1.ColumnAutoResize = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExList\\Sample\\Access\\SAMPLE.ACCDB",ADODB.CursorTypeEnum.adOpenStatic,ADODB.LockTypeEnum.adLockOptimistic,0);
axList1.DataSource = (rs as ADODB.Recordset);
axList1.ContinueColumnScroll = true;
axList1.ScrollBySingleLine = true;
axList1.AutoDrag = EXLISTLib.AutoDragEnum.exAutoDragScrollOnShortTouch | EXLISTLib.AutoDragEnum.exAutoDragScroll;

459
How can I enlarge the size of the control's scroll bars, for using on touch screens

axList1.ScrollBars = EXLISTLib.ScrollBarsEnum.DisableBoth;
axList1.ScrollWidth = 32;
axList1.ScrollHeight = 32;
axList1.ScrollButtonHeight = 32;
axList1.ScrollButtonWidth = 32;

458
Is there a syntax for conditional formatting of items, based on CellState/CellStateChange

// CellStateChanged event - Fired after cell's state is changed.
private void axList1_CellStateChanged(object sender, AxEXLISTLib._IListEvents_CellStateChangedEvent e)
{
	EXLISTLib.Items var_Items = axList1.Items;
		var_Items.set_Caption(e.item,2,var_Items.get_CellState(e.item,0));
}
//this.axList1.CellStateChanged += new AxEXLISTLib._IListEvents_CellStateChangedEventHandler(this.axList1_CellStateChanged);

axList1.BeginUpdate();
axList1.ShowFocusRect = false;
axList1.MarkSearchColumn = false;
axList1.SelBackMode = EXLISTLib.BackModeEnum.exTransparent;
EXLISTLib.ConditionalFormat var_ConditionalFormat = axList1.ConditionalFormats.Add("%2 != 0",null);
	var_ConditionalFormat.Bold = true;
	var_ConditionalFormat.ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
	var_ConditionalFormat.ApplyTo = EXLISTLib.FormatApplyToEnum.exFormatToItems;
EXLISTLib.Column var_Column = (axList1.Columns.Add("") as EXLISTLib.Column);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.Width = 16;
	var_Column.AllowSizing = false;
axList1.Columns.Add("Information");
(axList1.Columns.Add("Hidden") as EXLISTLib.Column).Visible = false;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_Caption(var_Items.Add(""),1,"This is a bit of text associated");
	int h = var_Items.Add("");
	var_Items.set_Caption(h,1,"This is a bit of text associated");
	var_Items.set_CellState(h,0,1);
	var_Items.set_Caption(var_Items.Add(""),1,"This is a bit of text associated");
axList1.EndUpdate();

457
How can I display the caption bellow to picture

axList1.BeginUpdate();
axList1.ScrollBySingleLine = true;
axList1.set_HTMLPicture("p1","c:\\exontrol\\images\\zipdisk.gif");
axList1.set_HTMLPicture("p2","c:\\exontrol\\images\\auction.gif");
axList1.Columns.Add("Default");
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("<c><img>p1</img><br><c>your caption1");
	var_Items.set_CellSingleLine(h,0,EXLISTLib.CellSingleLineEnum.exCaptionWordWrap);
	var_Items.set_CaptionFormat(h,0,EXLISTLib.CaptionFormatEnum.exHTML);
	h = var_Items.Add("<c><img>p2</img><br><c>your caption2");
	var_Items.set_CellSingleLine(h,0,EXLISTLib.CellSingleLineEnum.exCaptionWordWrap);
	var_Items.set_CaptionFormat(h,0,EXLISTLib.CaptionFormatEnum.exHTML);
axList1.EndUpdate();

456
How can I add a vertical padding

axList1.BeginUpdate();
axList1.DrawGridLines = EXLISTLib.GridLinesEnum.exAllLines;
EXLISTLib.Column var_Column = (axList1.Columns.Add("Padding") as EXLISTLib.Column);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellSingleLine,false);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellPaddingLeft,6);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellPaddingRight,6);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellPaddingTop,6);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellPaddingBottom,6);
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("padding");
	var_Items.Add("padding");
axList1.EndUpdate();

455
How do you embed HTML options into the anchor click string

// AnchorClick event - Occurs when an anchor element is clicked.
private void axList1_AnchorClick(object sender, AxEXLISTLib._IListEvents_AnchorClickEvent e)
{
	System.Diagnostics.Debug.Print( e.anchorID.ToString() );
	System.Diagnostics.Debug.Print( e.options.ToString() );
}
//this.axList1.AnchorClick += new AxEXLISTLib._IListEvents_AnchorClickEventHandler(this.axList1_AnchorClick);

axList1.BeginUpdate();
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("Car") as EXLISTLib.Column).set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("<a mazda_1;options for 1>Mazda <b>1</b></a>");
	var_Items.Add("<a mazda_2;options for 2>Mazda <b>2</b></a>");
	var_Items.Add("<a mazda_3;options for 3a>Mazda <b>3.a</b></a>");
	var_Items.Add("<a mazda_3;options for 3b>Mazda <b>3.b</b></a>");
axList1.EndUpdate();

454
I have the rows with different background color, and when I select the item it takes the color of the SelBackColor, and therefore is no longer visible behind the color. Is there any option to make the item's color being visible (method 3)

axList1.BeginUpdate();
axList1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAEGg4BVEIQAAYAQGKIYBkAKBQAGaAoDDMOQwQwAAxjGKEEwsACEIrjKCRShyCYZRhGcTSBCIZBqEqSZLiEZRQCWIAzATGYBRfIUEgjBM6ExwG78e" +
"gBHp/ZpkACIJJAaRjHQdJxGKKMQB9DIhCZpeKhWgkKIJBzOEyBRC4ERBGqNGrsIgLEqWZpnWhaNpWXYTLyBN64LhuK46g53O6wLxvK6hEr2dJ/YBcIAOfghf4NQ7EMRx" +
"LC8Mw3BDvYDkOAABAIgI=");
(axList1.GetOcx() as EXLISTLib.List).SelBackColor = 0x1fffffe;
axList1.ShowFocusRect = false;
axList1.Columns.Add("Items");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_ItemBackColor(var_Items.Add("red"),(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
	var_Items.set_ItemBackColor(var_Items.Add("blue"),(uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,255)));
	var_Items.set_ItemBackColor(var_Items.Add("green"),(uint)ColorTranslator.ToWin32(Color.FromArgb(0,255,0)));
axList1.EndUpdate();

453
I have the rows with different background color, and when I select the item it takes the color of the SelBackColor, and therefore is no longer visible behind the color. Is there any option to make the item's color being visible (method 2)

axList1.BeginUpdate();
axList1.SelBackMode = EXLISTLib.BackModeEnum.exTransparent;
axList1.ShowFocusRect = false;
axList1.Columns.Add("Items");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_ItemBackColor(var_Items.Add("red"),(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
	var_Items.set_ItemBackColor(var_Items.Add("blue"),(uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,255)));
	var_Items.set_ItemBackColor(var_Items.Add("green"),(uint)ColorTranslator.ToWin32(Color.FromArgb(0,255,0)));
axList1.EndUpdate();

452
I have the rows with different background color, and when I select the item it takes the color of the SelBackColor, and therefore is no longer visible behind the color. Is there any option to make the item's color being visible (method 1)

axList1.BeginUpdate();
axList1.SelBackColor = axList1.BackColor;
axList1.SelForeColor = axList1.ForeColor;
axList1.ShowFocusRect = true;
axList1.Columns.Add("Items");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_ItemBackColor(var_Items.Add("red"),(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
	var_Items.set_ItemBackColor(var_Items.Add("blue"),(uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,255)));
	var_Items.set_ItemBackColor(var_Items.Add("green"),(uint)ColorTranslator.ToWin32(Color.FromArgb(0,255,0)));
axList1.EndUpdate();

451
I am using the FormatColumn property, but is it also possible to have a blank field when the value is '0'. I've tried the 'leading zero' flag in the FormatColumn, but that did not work

(axList1.Columns.Add("Currency") as EXLISTLib.Column).FormatColumn = "int(value) != 0 ? (value format `0||3|,`) : ``";
axList1.Items.Add(123456789);
axList1.Items.Add(1234);
axList1.Items.Add(0);
axList1.Items.Add(2345);

450
Do you have a VB sample on how to use .FormatColumn to show this number '123456789' like '123,456,789'

(axList1.Columns.Add("Currency") as EXLISTLib.Column).FormatColumn = "value format `0||3|,`";
axList1.Items.Add(123456789);
axList1.Items.Add(1234);

449
Is it possible to change the image while do OLE Drag and Drop operations

// OLEStartDrag event - Occurs when the OLEDrag method is called.
private void axList1_OLEStartDrag(object sender, AxEXLISTLib._IListEvents_OLEStartDragEvent e)
{
	// Data.SetData(Items.FocusItem)
}
//this.axList1.OLEStartDrag += new AxEXLISTLib._IListEvents_OLEStartDragEventHandler(this.axList1_OLEStartDrag);

axList1.Columns.Add("Default");
axList1.Items.Add("Item 1");
axList1.Items.Add("Item 2");
axList1.OLEDropMode = EXLISTLib.exOLEDropModeEnum.exOLEDropManual;
axList1.set_HTMLPicture("OLEDragDropImage","C:\\Program Files\\Exontrol\\ExList\\Sample\\VB\\UNICODE\\unicode.jpg");

448
Is it possible to change the image while do OLE Drag and Drop operations

// OLEStartDrag event - Occurs when the OLEDrag method is called.
private void axList1_OLEStartDrag(object sender, AxEXLISTLib._IListEvents_OLEStartDragEvent e)
{
	// Data.SetData(Items.FocusItem)
}
//this.axList1.OLEStartDrag += new AxEXLISTLib._IListEvents_OLEStartDragEventHandler(this.axList1_OLEStartDrag);

axList1.Columns.Add("Default");
axList1.Items.Add("Item 1");
axList1.Items.Add("Item 2");
axList1.OLEDropMode = EXLISTLib.exOLEDropModeEnum.exOLEDropManual;
axList1.VisualAppearance.Add(1,"C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\EBN\\xpbselIcon.ebn");
axList1.set_Background(EXLISTLib.BackgroundPartEnum.exDragDropAfter,0x1000000);
axList1.set_Background(EXLISTLib.BackgroundPartEnum.exDragDropBefore,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)));

447
How can copy and paste the selection to Microsoft Word, any OLE compliant application, as a snapshot
axList1.BeginUpdate();
axList1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axList1.set_HTMLPicture("p1","c:\\exontrol\\images\\card.png");
axList1.set_HTMLPicture("p2","c:\\exontrol\\images\\sun.png");
axList1.AutoDrag = EXLISTLib.AutoDragEnum.exAutoDragCopySnapShot;
axList1.ShowFocusRect = false;
axList1.DefaultItemHeight = 26;
axList1.Columns.Add("Task");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_CaptionFormat(var_Items.Add("<img>p1:32</img> Group 1"),0,EXLISTLib.CaptionFormatEnum.exHTML);
	var_Items.set_CaptionFormat(var_Items.Add("<img>p2:32</img> Group 2"),0,EXLISTLib.CaptionFormatEnum.exHTML);
axList1.EndUpdate();

446
How can copy and paste the selection to Microsoft Word, any OLE compliant application, as a image

axList1.BeginUpdate();
axList1.set_HTMLPicture("p1","c:\\exontrol\\images\\card.png");
axList1.set_HTMLPicture("p2","c:\\exontrol\\images\\sun.png");
axList1.HeaderHeight = 24;
axList1.DefaultItemHeight = 48;
axList1.DrawGridLines = (EXLISTLib.GridLinesEnum)0xfffffffc | EXLISTLib.GridLinesEnum.exVLines;
axList1.GridLineColor = Color.FromArgb(240,240,240);
axList1.SelBackMode = EXLISTLib.BackModeEnum.exTransparent;
axList1.ColumnAutoResize = false;
axList1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExList\\Sample\\Access\\SAMPLE.ACCDB",ADODB.CursorTypeEnum.adOpenStatic,ADODB.LockTypeEnum.adLockOptimistic,0);
axList1.DataSource = (rs as ADODB.Recordset);
axList1.Columns[0].set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
axList1.Columns[0].FormatColumn = "value + ` <img>p` + (1 + (value mod 3 ) ) + `</img>`";
axList1.Columns[0].Width = 112;
axList1.AutoDrag = EXLISTLib.AutoDragEnum.exAutoDragCopyImage;
axList1.SingleSel = false;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_SelectItem(1,true);
	var_Items.set_SelectItem(2,true);
	var_Items.set_SelectItem(3,true);
axList1.EndUpdate();

445
How can copy and paste the selection to Microsoft Word, Excel or any OLE compliant application, as a text

axList1.BeginUpdate();
axList1.ColumnAutoResize = false;
axList1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExList\\Sample\\Access\\SAMPLE.ACCDB",ADODB.CursorTypeEnum.adOpenStatic,ADODB.LockTypeEnum.adLockOptimistic,0);
axList1.DataSource = (rs as ADODB.Recordset);
axList1.AutoDrag = EXLISTLib.AutoDragEnum.exAutoDragCopyText;
axList1.SingleSel = false;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_SelectItem(1,true);
	var_Items.set_SelectItem(3,true);
	var_Items.set_SelectItem(4,true);
	var_Items.set_SelectItem(5,true);
axList1.EndUpdate();

444
How can I change the row's position to another, by drag and drop. Is it possible

axList1.BeginUpdate();
axList1.AutoDrag = EXLISTLib.AutoDragEnum.exAutoDragPosition;
axList1.Columns.Add("Task");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.Add("Item 4");
axList1.EndUpdate();

443
Does your control support subscript or superscript, in HTML captions

(axList1.Columns.Add("Column") as EXLISTLib.Column).set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
axList1.Items.Add("<sha ;;0>Event <b><font ;6><off -6>2<off 4>3<off 4>1");

442
Is there any property I can save and restore automatically the current setting, column position, size, and so on (2)

axList1.BeginUpdate();
axList1.Columns.Add("Column");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
axList1.Layout = "Select=\"0\";SingleSort=\"C0:2\";Columns=1";
axList1.EndUpdate();

441
Is there any property I can save and restore automatically the current setting, column position, size, and so on (1)

axList1.BeginUpdate();
axList1.Columns.Add("Column");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
axList1.Layout = "gBjAAwAAuABmABpABsAB0ABlAByhoAPIAOEPAA9gYABoABQAgUEg0XN4AOcJicKkpujMbjsfkMFk0YhkQgUOjUEl8gjcGO0ok8KMULjEaGMcj08kQAO8oMkTNEtGwAG" +
"QAqc7gUlhh1ABtAEsk9GpEfhElgVcsMupNlnlonlaAFcr0shUsp8QPEtnVJqJhmcIhUMh0QiU5sYAqMngUSuEMw07k8Qv0SgVRrNEuVflF2jF5x9JyNEm0TjQijemyE0" +
"jE3t+YruauoAu4Az1qj9BzRn0UzksSnAA0xDjY6qnAw8OiUQ0dwzN0zWz2t7j8/xURAGNvWH6k8xlEhklhEI0O/6QAgI=";
axList1.EndUpdate();

440
Is there any public method to export the selected data

axList1.BeginUpdate();
EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("C1");
	(var_Columns.Add("C2") as EXLISTLib.Column).FormatColumn = "1 index `A-Z`";
	(var_Columns.Add("C3") as EXLISTLib.Column).FormatColumn = "100 index ``";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.set_SelectItem(var_Items.Add("Item 2"),true);
	var_Items.Add("Item 3");
axList1.EndUpdate();
System.Diagnostics.Debug.Print( "Export CSV Selected Items Only:" );
System.Diagnostics.Debug.Print( axList1.Export("","sel").ToString() );

439
How can I change the visual aspect of the links in the sort bar

axList1.BeginUpdate();
axList1.ColumnAutoResize = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExList\\Sample\\Access\\SAMPLE.ACCDB",ADODB.CursorTypeEnum.adOpenStatic,ADODB.LockTypeEnum.adLockOptimistic,0);
axList1.DataSource = (rs as ADODB.Recordset);
axList1.SortBarHeight = 24;
axList1.HeaderHeight = 24;
axList1.BackColorSortBar = Color.FromArgb(240,240,240);
axList1.BackColorSortBarCaption = axList1.BackColor;
axList1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAEGg4BdsIQAAYAQGKIYBkAKBQAGaAoDDgNw0QwAAxjMK0EwsACEIrjKCRShyCYZRhGcTSBCIZBqEqSZLiEZRQiiCYsS5GQBSFDcOwHGyQYDkCQpA" +
"AWL4tCyMc7QHKAWhrEAbJjgQYJUh+TQAAZCIJRXRQAL/K6rKwnSCQIgkUBpGKdBynEYoYxAfyESCJWyIahWAwoQjUMB1HLQAAxC5kKbkIxyBABFBdVjVeBYG78Bz+ABj" +
"EovbAMEwPBqAMwmIAZDheA4FR4AGhTXKcbxrFaXZSzKckPRoADSZq1Sg5LjDJI2ABqU6ABqNLZtJKsZS4apABrWeZ3Q7QMLdFTwA4PH6EZhxXAYbTVeaPZjQIBAgI");
axList1.SortBarVisible = true;
axList1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
EXLISTLib.Column var_Column = axList1.Columns[1];
	var_Column.Alignment = EXLISTLib.AlignmentEnum.CenterAlignment;
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellBackColor,15790320);
	var_Column.SortOrder = true;
EXLISTLib.Column var_Column1 = axList1.Columns[5];
	var_Column1.Alignment = EXLISTLib.AlignmentEnum.CenterAlignment;
	var_Column1.set_Def(EXLISTLib.DefColumnEnum.exCellBackColor,16119285);
	var_Column1.SortOrder = true;
axList1.set_Background(EXLISTLib.BackgroundPartEnum.exSortBarLinkColor,0x1000000);
axList1.EndUpdate();

438
How can I have a case-insensitive filter (exFilterDoCaseSensitive flag is not set)

axList1.BeginUpdate();
axList1.MarkSearchColumn = false;
EXLISTLib.Columns var_Columns = axList1.Columns;
	EXLISTLib.Column var_Column = (var_Columns.Add("Car") as EXLISTLib.Column);
		var_Column.DisplayFilterButton = true;
		var_Column.FilterType = EXLISTLib.FilterTypeEnum.exFilter;
		var_Column.Filter = "MAZDA";
	EXLISTLib.Column var_Column1 = (var_Columns.Add("Equipment") as EXLISTLib.Column);
		var_Column1.DisplayFilterButton = true;
		var_Column1.DisplayFilterPattern = false;
		var_Column1.CustomFilter = "Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*";
		var_Column1.FilterType = EXLISTLib.FilterTypeEnum.exPattern;
		var_Column1.Filter = "AIR BAG";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_Caption(var_Items.Add("Mazda"),1,"Air Bag");
	var_Items.set_Caption(var_Items.Add("Toyota"),1,"Air Bag,Air condition");
	var_Items.set_Caption(var_Items.Add("Ford"),1,"Air condition");
	var_Items.set_Caption(var_Items.Add("Nissan"),1,"Air Bag,ABS,ESP");
	var_Items.set_Caption(var_Items.Add("Mazda"),1,"Air Bag, ABS,ESP");
	var_Items.set_Caption(var_Items.Add("Mazda"),1,"ABS,ESP");
axList1.ApplyFilter();
axList1.EndUpdate();

437
How can I have a case-sensitive filter

axList1.BeginUpdate();
axList1.MarkSearchColumn = false;
EXLISTLib.Columns var_Columns = axList1.Columns;
	EXLISTLib.Column var_Column = (var_Columns.Add("Car") as EXLISTLib.Column);
		var_Column.DisplayFilterButton = true;
		var_Column.FilterType = EXLISTLib.FilterTypeEnum.exFilterDoCaseSensitive | EXLISTLib.FilterTypeEnum.exFilter;
		var_Column.Filter = "Mazda";
	EXLISTLib.Column var_Column1 = (var_Columns.Add("Equipment") as EXLISTLib.Column);
		var_Column1.DisplayFilterButton = true;
		var_Column1.DisplayFilterPattern = false;
		var_Column1.CustomFilter = "Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*";
		var_Column1.FilterType = EXLISTLib.FilterTypeEnum.exFilterDoCaseSensitive | EXLISTLib.FilterTypeEnum.exPattern;
		var_Column1.Filter = "Air Bag";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_Caption(var_Items.Add("Mazda"),1,"Air Bag");
	var_Items.set_Caption(var_Items.Add("Toyota"),1,"Air Bag,Air condition");
	var_Items.set_Caption(var_Items.Add("Ford"),1,"Air condition");
	var_Items.set_Caption(var_Items.Add("Nissan"),1,"Air Bag,ABS,ESP");
	var_Items.set_Caption(var_Items.Add("Mazda"),1,"Air Bag, ABS,ESP");
	var_Items.set_Caption(var_Items.Add("Mazda"),1,"ABS,ESP");
axList1.ApplyFilter();
axList1.EndUpdate();

436
I have several columns, but noticed that the filter is using AND between columns, but I need OR clause for filtering. Is it possible

axList1.BeginUpdate();
EXLISTLib.Column var_Column = (axList1.Columns.Add("Item") as EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.Filter = "Child 1";
	var_Column.FilterType = EXLISTLib.FilterTypeEnum.exFilter;
EXLISTLib.Column var_Column1 = (axList1.Columns.Add("Date") as EXLISTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.DisplayFilterPattern = false;
	var_Column1.DisplayFilterDate = true;
	var_Column1.FilterList = EXLISTLib.FilterListEnum.exShowExclude | EXLISTLib.FilterListEnum.exShowFocusItem | EXLISTLib.FilterListEnum.exShowCheckBox | EXLISTLib.FilterListEnum.exNoItems;
	var_Column1.Filter = Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")).ToString();
	var_Column1.FilterType = EXLISTLib.FilterTypeEnum.exDate;
axList1.FilterCriteria = "%0 or %1";
axList1.set_Description(EXLISTLib.DescriptionTypeEnum.exFilterBarOr,"<font ;18><fgcolor=FF0000>or</fgcolor></font>");
axList1.set_Description(EXLISTLib.DescriptionTypeEnum.exFilterBarAnd,"<font ;18><fgcolor=FF0000>and</fgcolor></font>");
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.set_Caption(var_Items.Add("Child 1"),1,Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(var_Items.Add("Child 2"),1,Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add("Root 2");
	var_Items.set_Caption(var_Items.Add("Child 1"),1,Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(var_Items.Add("Child 2"),1,Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
axList1.ApplyFilter();
axList1.EndUpdate();

435
Is it possible exclude the dates being selected in the drop down filter window

axList1.BeginUpdate();
EXLISTLib.Column var_Column = (axList1.Columns.Add("Date") as EXLISTLib.Column);
	var_Column.SortType = EXLISTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = EXLISTLib.FilterListEnum.exShowExclude | EXLISTLib.FilterListEnum.exShowFocusItem | EXLISTLib.FilterListEnum.exShowCheckBox | EXLISTLib.FilterListEnum.exNoItems;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
axList1.EndUpdate();

434
How can I display a calendar control inside the drop down filter window

axList1.BeginUpdate();
EXLISTLib.Column var_Column = (axList1.Columns.Add("Date") as EXLISTLib.Column);
	var_Column.SortType = EXLISTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = EXLISTLib.FilterListEnum.exShowFocusItem | EXLISTLib.FilterListEnum.exShowCheckBox | EXLISTLib.FilterListEnum.exNoItems;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
axList1.EndUpdate();

433
Is it possible to include the dates as checkb-boxes in the drop down filter window

axList1.BeginUpdate();
EXLISTLib.Column var_Column = (axList1.Columns.Add("Dates") as EXLISTLib.Column);
	var_Column.SortType = EXLISTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = EXLISTLib.FilterListEnum.exShowFocusItem | EXLISTLib.FilterListEnum.exShowCheckBox;
	var_Column.Filter = "to 12/27/2010";
	var_Column.FilterType = EXLISTLib.FilterTypeEnum.exDate;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
axList1.ApplyFilter();
axList1.EndUpdate();

432
How can I filter items for dates before a specified date

axList1.BeginUpdate();
EXLISTLib.Column var_Column = (axList1.Columns.Add("Dates") as EXLISTLib.Column);
	var_Column.SortType = EXLISTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = EXLISTLib.FilterListEnum.exShowFocusItem | EXLISTLib.FilterListEnum.exNoItems;
	var_Column.Filter = "to 12/27/2010";
	var_Column.FilterType = EXLISTLib.FilterTypeEnum.exDate;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
axList1.ApplyFilter();
axList1.EndUpdate();

431
Is it possible to filter dates

axList1.BeginUpdate();
EXLISTLib.Column var_Column = (axList1.Columns.Add("Dates") as EXLISTLib.Column);
	var_Column.SortType = EXLISTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = EXLISTLib.FilterListEnum.exShowFocusItem | EXLISTLib.FilterListEnum.exNoItems;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
axList1.EndUpdate();

430
Is it possible to change the Exclude field name to something different, in the drop down filter window

axList1.BeginUpdate();
axList1.set_Description(EXLISTLib.DescriptionTypeEnum.exFilterBarExclude,"Leaving out");
EXLISTLib.Column var_Column = (axList1.Columns.Add("Items") as EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = EXLISTLib.FilterListEnum.exShowExclude | EXLISTLib.FilterListEnum.exShowFocusItem | EXLISTLib.FilterListEnum.exShowCheckBox;
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	h = var_Items.Add("Root 2");
	var_Items.Add("Child 1");
axList1.EndUpdate();

429
How can I display the Exclude field in the drop down filter window

axList1.BeginUpdate();
EXLISTLib.Column var_Column = (axList1.Columns.Add("Items") as EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = EXLISTLib.FilterListEnum.exShowExclude | EXLISTLib.FilterListEnum.exShowFocusItem | EXLISTLib.FilterListEnum.exShowCheckBox;
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	h = var_Items.Add("Root 2");
	var_Items.Add("Child 1");
axList1.EndUpdate();

428
Is it possible to show and ensure the focused item from the control, in the drop down filter window

axList1.BeginUpdate();
EXLISTLib.Column var_Column = (axList1.Columns.Add("Items") as EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = EXLISTLib.FilterListEnum.exShowFocusItem | EXLISTLib.FilterListEnum.exShowCheckBox;
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	h = var_Items.Add("Root 2");
	var_Items.Add("Child 1");
	var_Items.set_SelectItem(var_Items.Add("Child 2"),true);
axList1.EndUpdate();

427
Is it possible to show only blanks items with no listed items from the control

axList1.BeginUpdate();
EXLISTLib.Column var_Column = (axList1.Columns.Add("Items") as EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = EXLISTLib.FilterListEnum.exShowBlanks | EXLISTLib.FilterListEnum.exNoItems;
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	h = var_Items.Add("Root 2");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
axList1.EndUpdate();

426
How can I include the blanks items in the drop down filter window

axList1.BeginUpdate();
EXLISTLib.Column var_Column = (axList1.Columns.Add("Items") as EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = EXLISTLib.FilterListEnum.exShowBlanks | EXLISTLib.FilterListEnum.exShowCheckBox;
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	h = var_Items.Add("Root 2");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
axList1.EndUpdate();

425
How can I select multiple items in the drop down filter window, using check-boxes

axList1.BeginUpdate();
EXLISTLib.Column var_Column = (axList1.Columns.Add("Items") as EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = EXLISTLib.FilterListEnum.exShowCheckBox;
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	h = var_Items.Add("Root 2");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
axList1.EndUpdate();

424
Is it possible to allow a single item being selected in the drop down filter window

axList1.BeginUpdate();
EXLISTLib.Column var_Column = (axList1.Columns.Add("Items") as EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = EXLISTLib.FilterListEnum.exSingleSel;
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	h = var_Items.Add("Root 2");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
axList1.EndUpdate();

423
How can I display no (All) item in the drop down filter window

axList1.BeginUpdate();
axList1.set_Description(EXLISTLib.DescriptionTypeEnum.exFilterBarAll,"");
EXLISTLib.Column var_Column = (axList1.Columns.Add("Items") as EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.FilterList = EXLISTLib.FilterListEnum.exNoItems;
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	h = var_Items.Add("Root 2");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
axList1.EndUpdate();

422
Is it possible to display no items in the drop down filter window, so only the pattern is visible

axList1.BeginUpdate();
EXLISTLib.Column var_Column = (axList1.Columns.Add("Items") as EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.FilterList = EXLISTLib.FilterListEnum.exNoItems;
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	h = var_Items.Add("Root 2");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
axList1.EndUpdate();

421
How can I sort the value gets listed in the drop down filter window

axList1.MarkSearchColumn = false;
axList1.set_Description(EXLISTLib.DescriptionTypeEnum.exFilterBarAll,"");
axList1.set_Description(EXLISTLib.DescriptionTypeEnum.exFilterBarBlanks,"");
axList1.set_Description(EXLISTLib.DescriptionTypeEnum.exFilterBarNonBlanks,"");
EXLISTLib.Column var_Column = (axList1.Columns.Add("P1") as EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = EXLISTLib.FilterListEnum.exSortItemsDesc;
EXLISTLib.Column var_Column1 = (axList1.Columns.Add("P2") as EXLISTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.DisplayFilterPattern = false;
	var_Column1.FilterList = EXLISTLib.FilterListEnum.exSortItemsAsc;
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Z3");
	var_Items.set_Caption(h,1,"C");
	var_Items.set_Caption(var_Items.Add("Z1"),1,"B");
	var_Items.set_Caption(var_Items.Add("Z2"),1,"A");

420
How can I add or change the padding (spaces) for captions in the control's header

axList1.BeginUpdate();
(axList1.Columns.Add("Padding-Left") as EXLISTLib.Column).set_Def(EXLISTLib.DefColumnEnum.exHeaderPaddingLeft,18);
EXLISTLib.Column var_Column = (axList1.Columns.Add("Padding-Right") as EXLISTLib.Column);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exHeaderPaddingRight,18);
	var_Column.HeaderAlignment = EXLISTLib.AlignmentEnum.RightAlignment;
axList1.EndUpdate();

419
Do you have any plans to add cell spacing and cell padding to the cells

axList1.BeginUpdate();
axList1.DrawGridLines = (EXLISTLib.GridLinesEnum)0xfffffffc | EXLISTLib.GridLinesEnum.exVLines;
EXLISTLib.Column var_Column = (axList1.Columns.Add("Padding-Left") as EXLISTLib.Column);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellPaddingLeft,18);
(axList1.Columns.Add("No-Padding") as EXLISTLib.Column).set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
(axList1.Columns.Add("Empty") as EXLISTLib.Column).Position = 0;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_Caption(var_Items.Add("Item A.1"),1,"Item A.2");
	var_Items.set_Caption(var_Items.Add("Item B.1"),1,"Item B.2");
	var_Items.set_Caption(var_Items.Add("Item C.1"),1,"Item C.2");
axList1.EndUpdate();

418
Is it possible display numbers in the same format no matter of regional settings in the control panel

axList1.BeginUpdate();
(axList1.Columns.Add("Def") as EXLISTLib.Column).set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add(100000.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default positive)'");
	h = var_Items.Add(100000.27);
	var_Items.set_FormatCell(h,0,"(value format '2|.|3|,|1|1')");
	h = var_Items.Add(-100000.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default negative)'");
	h = var_Items.Add(-100000.27);
	var_Items.set_FormatCell(h,0,"(value format '2|.|3|,|1|1')");
axList1.EndUpdate();

417
Is it possible to add a 0 for numbers less than 1 instead .7 to show 0.8

axList1.BeginUpdate();
(axList1.Columns.Add("Def") as EXLISTLib.Column).set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add(0.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items.Add(0.27);
	var_Items.set_FormatCell(h,0,"(value format '|||||0') +  ' <fgcolor=808080>(Display no leading zeros)'");
axList1.EndUpdate();

416
How can I specify the format for negative numbers

axList1.BeginUpdate();
(axList1.Columns.Add("Def") as EXLISTLib.Column).set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add(-100000.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items.Add(-100000.27);
	var_Items.set_FormatCell(h,0,"(value format '||||1') +  ' <fgcolor=808080>(Negative sign, number; for example, -1.1)'");
axList1.EndUpdate();

415
Is it possible to change the grouping character when display numbers

axList1.BeginUpdate();
(axList1.Columns.Add("Def") as EXLISTLib.Column).set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add(100000.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items.Add(100000.27);
	var_Items.set_FormatCell(h,0,"(value format '|||-') +  ' <fgcolor=808080>(grouping character is -)'");
axList1.EndUpdate();

414
How can I display numbers with 2 digits in each group

axList1.BeginUpdate();
(axList1.Columns.Add("Def") as EXLISTLib.Column).set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add(100000.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items.Add(100000.27);
	var_Items.set_FormatCell(h,0,"(value format '||2') +  ' <fgcolor=808080>(grouping by 2 digits)'");
axList1.EndUpdate();

413
How can I display my numbers using a different decimal separator

axList1.BeginUpdate();
(axList1.Columns.Add("Def") as EXLISTLib.Column).set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add(100.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items.Add(100.27);
	var_Items.set_FormatCell(h,0,"(value format '|;') +  ' <fgcolor=808080>(decimal separator is <b>;</b>)'");
axList1.EndUpdate();

412
Is it possible to display the numbers using 3 (three) digits

axList1.BeginUpdate();
(axList1.Columns.Add("Def") as EXLISTLib.Column).set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add(100.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items.Add(100.27);
	var_Items.set_FormatCell(h,0,"(value format '3') +  ' <fgcolor=808080>(3 digits)'");
	h = var_Items.Add(100.27);
	var_Items.set_FormatCell(h,0,"(value format 2) +  '  <fgcolor=808080>(2 digits)'");
	h = var_Items.Add(100.27);
	var_Items.set_FormatCell(h,0,"(value format 1) +  ' <fgcolor=808080>(1 digit)'");
axList1.EndUpdate();

411
Is it possible to format numbers

axList1.BeginUpdate();
axList1.MarkSearchColumn = false;
axList1.SelBackColor = axList1.BackColor;
axList1.SelForeColor = axList1.ForeColor;
axList1.ShowFocusRect = true;
EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("Name");
	EXLISTLib.Column var_Column = (var_Columns.Add("A") as EXLISTLib.Column);
		var_Column.SortType = EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column.AllowSizing = false;
		var_Column.Width = 36;
		var_Column.FormatColumn = "len(value) ? value + ' +'";
	EXLISTLib.Column var_Column1 = (var_Columns.Add("B") as EXLISTLib.Column);
		var_Column1.SortType = EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column1.AllowSizing = false;
		var_Column1.Width = 36;
		var_Column1.FormatColumn = "len(value) ? value + ' +'";
	EXLISTLib.Column var_Column2 = (var_Columns.Add("C") as EXLISTLib.Column);
		var_Column2.SortType = EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column2.AllowSizing = false;
		var_Column2.Width = 36;
		var_Column2.FormatColumn = "len(value) ? value + ' ='";
	EXLISTLib.Column var_Column3 = (var_Columns.Add("A+B+C") as EXLISTLib.Column);
		var_Column3.SortType = EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column3.Width = 64;
		var_Column3.ComputedField = "dbl(%1)+dbl(%2)+dbl(%3)";
		var_Column3.FormatColumn = "type(value) in (0,1) ? 'null' : ( dbl(value)<0 ? '<fgcolor=FF0000>'+ (value format '2|.|3|,|1' ) : (dbl(value)>0 ? '<fgcolor=00" +
"00FF>+'+(value format '2|.|3|,' ): '0.00') )";
		var_Column3.set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Item");
	var_Items.set_CaptionFormat(h,4,EXLISTLib.CaptionFormatEnum.exComputedField);
	h = var_Items.Add("Item 1");
	var_Items.set_Caption(h,1,7);
	var_Items.set_Caption(h,2,3);
	var_Items.set_Caption(h,3,1);
	h = var_Items.Add("Item 2");
	var_Items.set_Caption(h,1,-2);
	var_Items.set_Caption(h,2,-2);
	var_Items.set_Caption(h,3,-4);
	h = var_Items.Add("Item 3");
	var_Items.set_Caption(h,1,2);
	var_Items.set_Caption(h,2,2);
	var_Items.set_Caption(h,3,-4);
axList1.EndUpdate();

410
Is it possible background color displayed when the mouse passes over an item

axList1.BeginUpdate();
axList1.Columns.Add("Def");
axList1.HotBackColor = Color.FromArgb(0,0,128);
axList1.HotForeColor = Color.FromArgb(255,255,255);
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item A");
	var_Items.Add("Item B");
	var_Items.Add("Item C");
axList1.EndUpdate();

409
Is it possible to specify the cell's value but still want to display some formatted text instead the value

axList1.BeginUpdate();
axList1.MarkSearchColumn = false;
EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("Name");
	EXLISTLib.Column var_Column = (var_Columns.Add("Values") as EXLISTLib.Column);
		var_Column.SortType = EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column.AllowSizing = false;
		var_Column.Width = 64;
		var_Column.FormatColumn = "((0:=dbl(value)) < 10? '<fgcolor=808080><font ;7>' :'<b>') + currency(=:0)";
		var_Column.set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_FormatCell(var_Items.Add("Item A"),1,"`<none>`");
	var_Items.set_Caption(var_Items.Add("Item 1"),1,10);
	var_Items.set_Caption(var_Items.Add("Item 2"),1,15);
	var_Items.set_Caption(var_Items.Add("Item 3"),1,25);
axList1.EndUpdate();

408
I am using the FormatColumn to display the current currency, but would like hide some values. Is it possible

axList1.BeginUpdate();
axList1.MarkSearchColumn = false;
EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("Name");
	EXLISTLib.Column var_Column = (var_Columns.Add("Values") as EXLISTLib.Column);
		var_Column.SortType = EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column.AllowSizing = false;
		var_Column.Width = 64;
		var_Column.FormatColumn = "((0:=dbl(value)) < 10? '<fgcolor=808080><font ;7>' :'<b>') + currency(=:0)";
		var_Column.set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_FormatCell(var_Items.Add("Item A"),1," ");
	var_Items.set_Caption(var_Items.Add("Item 1"),1,10);
	var_Items.set_Caption(var_Items.Add("Item 2"),1,15);
	var_Items.set_Caption(var_Items.Add("Item 3"),1,25);
axList1.EndUpdate();

407
I am using the FormatColumn to format my columns. Is it possible to ignore the SelForeColor, so the foreground color for selected items does not override my settings

// SelectionChanged event - Fired after a new item is selected.
private void axList1_SelectionChanged(object sender, EventArgs e)
{
	EXLISTLib.Items var_Items = axList1.Items;
		var_Items.ClearItemBackColor(-1);
		var_Items.set_ItemBackColor(var_Items.get_SelectedItem(0),(uint)ColorTranslator.ToWin32(Color.FromArgb(128,255,255)));
}
//this.axList1.SelectionChanged += new EventHandler(this.axList1_SelectionChanged);

axList1.BeginUpdate();
axList1.MarkSearchColumn = false;
axList1.SelForeColor = axList1.ForeColor;
axList1.SelBackColor = axList1.BackColor;
axList1.ShowFocusRect = false;
EXLISTLib.Columns var_Columns = axList1.Columns;
	EXLISTLib.Column var_Column = (var_Columns.Add("Format") as EXLISTLib.Column);
		var_Column.FormatColumn = "type(value) in (0,1) ? 'null' : ( dbl(value)<0 ? '<fgcolor=FF0000>'+ (value format '2|.|3|,|1' ) : (dbl(value)>0 ? '<fgcolor=00" +
"00FF>+'+(value format '2|.|3|,' ): '0.00') )";
		var_Column.set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(10);
	var_Items.Add(-8);
axList1.EndUpdate();

406
Is it possible to change the height for all items at once

axList1.BeginUpdate();
axList1.Columns.Add("Items");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.Add("Item 4");
axList1.EndUpdate();
axList1.DefaultItemHeight = 12;
axList1.Items.set_ItemHeight(-1,12);

405
How can I change the shape of the line to be shown when user drag and drop data over the control

// OLEStartDrag event - Occurs when the OLEDrag method is called.
private void axList1_OLEStartDrag(object sender, AxEXLISTLib._IListEvents_OLEStartDragEvent e)
{
	// Data.SetData("data to be dragged")
}
//this.axList1.OLEStartDrag += new AxEXLISTLib._IListEvents_OLEStartDragEventHandler(this.axList1_OLEStartDrag);

axList1.OLEDropMode = EXLISTLib.exOLEDropModeEnum.exOLEDropManual;
axList1.VisualAppearance.Add(1,"C:\\Program Files\\Exontrol\\ExList\\Sample\\VB\\DragDrop\\insert_bottom.ebn");
axList1.set_Background(EXLISTLib.BackgroundPartEnum.exListOLEDropPosition,0x1000000);
axList1.Columns.Add("Default");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");

404
How can I highlight the item from cursor when the user drag and drop data over the control

// OLEStartDrag event - Occurs when the OLEDrag method is called.
private void axList1_OLEStartDrag(object sender, AxEXLISTLib._IListEvents_OLEStartDragEvent e)
{
	// Data.SetData("data to be dragged")
}
//this.axList1.OLEStartDrag += new AxEXLISTLib._IListEvents_OLEStartDragEventHandler(this.axList1_OLEStartDrag);

axList1.OLEDropMode = EXLISTLib.exOLEDropModeEnum.exOLEDropManual;
axList1.set_Background(EXLISTLib.BackgroundPartEnum.exListOLEDropPosition,(uint)ColorTranslator.ToWin32(Color.FromArgb(1,0,0)));
axList1.Columns.Add("Default");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");

403
How can I start drag and drop items

// OLEStartDrag event - Occurs when the OLEDrag method is called.
private void axList1_OLEStartDrag(object sender, AxEXLISTLib._IListEvents_OLEStartDragEvent e)
{
	// Data.SetData("to be carried by drag and drop")
	e.allowedEffects = 1;
}
//this.axList1.OLEStartDrag += new AxEXLISTLib._IListEvents_OLEStartDragEventHandler(this.axList1_OLEStartDrag);

axList1.BeginUpdate();
axList1.OLEDropMode = EXLISTLib.exOLEDropModeEnum.exOLEDropManual;
axList1.Columns.Add("Default");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
axList1.EndUpdate();

402
When I'm trying to show string with "line break" character (vbCrLF) in a textbox, it shows 2 squares. Is there any way to hide these squares

EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("Value");
	EXLISTLib.Column var_Column = (var_Columns.Add("CellSingleLine = False") as EXLISTLib.Column);
		var_Column.ComputedField = "%0";
		var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellSingleLine,false);
	EXLISTLib.Column var_Column1 = (var_Columns.Add("FormatColumn/replace CRLF") as EXLISTLib.Column);
		var_Column1.ComputedField = "%0";
		var_Column1.FormatColumn = "value replace `\\r\\n` with ``";
	EXLISTLib.Column var_Column2 = (var_Columns.Add("FormatColumn/replace TAB,CRLF") as EXLISTLib.Column);
		var_Column2.ComputedField = "%0";
		var_Column2.FormatColumn = "(value replace `\\t` with ``) replace `\\r\\n` with ``";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("a\\ta\\r\\nb\\tb");

401
The Column.Alignment property does not seem to work for cells with images in them. What can be done

axList1.BeginUpdate();
axList1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
axList1.DrawGridLines = EXLISTLib.GridLinesEnum.exAllLines;
axList1.HeaderHeight = 24;
axList1.DefaultItemHeight = 24;
EXLISTLib.Column var_Column = (axList1.Columns.Add("Image") as EXLISTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.Width = 32;
	var_Column.HTMLCaption = "<img>1</img>";
	var_Column.HeaderAlignment = EXLISTLib.AlignmentEnum.CenterAlignment;
	var_Column.Alignment = EXLISTLib.AlignmentEnum.CenterAlignment;
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
axList1.Columns.Add("Rest");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("<img>1</img>");
	var_Items.Add("<img>2</img>");
	var_Items.Add("<img>3</img>");
axList1.EndUpdate();